package com.masterrabbit.gmh.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName("repair_records")
public class RepairRecords {
/*
*     repair_id INT AUTO_INCREMENT PRIMARY KEY COMMENT 'ID（自增）',
    repair_number VARCHAR(36) COMMENT '维修单号（UUID）',
    order_number VARCHAR(36) COMMENT '订单单号（外键）',
    user_id INT COMMENT 'userID',
    vehicle_id INT COMMENT '车辆ID',
    repair_method INT COMMENT '维修方式（字典）',
    pickup_location VARCHAR(255) COMMENT '取车位置',
    appointment_date DATETIME COMMENT '预约日期',
    submission_date DATETIME COMMENT '提交日期',
    image_id INT COMMENT '照片表ID（关联图片表ID）',
    status INT COMMENT 'status'*/
    @TableId(value = "repair_id",type = IdType.AUTO)
    private Integer repairId;
    private String repairNumber;
    private String orderNumber;
    private Integer userId;
    private Integer vehicleId;
    private Integer repairMethod;
    private String pickupLocation;
    private String appointmentDate;
    private String submissionDate;
    private Integer imageId;
    private Integer status;
}
